package ch05;

/**
 * Created by 其 on 2016/3/20.
 */
class Other {
    {
        System.out.println("对象初始区块：");
    }

    Other() {
        System.out.println("Other() 构造函数");
    }

    Other(int o) {
        this();
        System.out.println("Other(int o) 构造函数");
    }
}

public class ObjectInitialBlock {
    public static void main(String[] args) {
        new Other(1);
    }
}
